package com.saer.client.grid.record.admin.permissions;

import com.smartgwt.client.widgets.grid.ListGridRecord;

public class UserInfoRecord extends ListGridRecord {

	public UserInfoRecord() {
	}

	public UserInfoRecord(String userId, String userStatus, String firstName,
			String lastName, String userType) {
		setUserId(userId);
		setUserStatus(userStatus);
		setFirstName(firstName);
		setLastName(lastName);
		setUserType(userType);
	}

	public String getUserId() {
		return getAttributeAsString("userId");
	}

	public void setUserId(String userId) {
		setAttribute("userId", userId);
	}

	public String getUserStatus() {
		return getAttributeAsString("userStatus");
	}

	public void setUserStatus(String userStatus) {
		setAttribute("userStatus", userStatus);
	}

	public String getFirstName() {
		return getAttributeAsString("firstName");
	}

	public void setFirstName(String firstName) {
		setAttribute("firstName", firstName);
	}

	public String getLastName() {
		return getAttributeAsString("lastName");
	}

	public void setLastName(String lastName) {
		setAttribute("lastName", lastName);
	}

	public String getUserType() {
		return getAttributeAsString("userType");
	}

	public void setUserType(String userType) {
		setAttribute("userType", userType);
	}

}
